home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 665 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.4 KB

  1. Path: ix.netcom.com!JAMESCHA
  2. From: jamesch@ix.netcom.com (James Chamblin)
  3. Newsgroups: comp.sys.cbm
  4. Subject: Re: Programming [RASTERS] question...
  5. Date: 12 Jan 1996 19:39:19 GMT
  6. Organization: Netcom
  7. Message-ID: <4d6dd7$sfg@ixnews6.ix.netcom.com>
  8. References: <Ikxf2T200YUtAGNFEu@andrew.cmu.edu>
  9. NNTP-Posting-Host: ix-orl1-21.ix.netcom.com
  10. X-NETCOM-Date: Fri Jan 12 11:39:19 AM PST 1996
  11. X-Newsreader: News Xpress Version 1.0 Beta #4
  12.  
  13. In article <Ikxf2T200YUtAGNFEu@andrew.cmu.edu>,
  14.    William Nolan <wnolan+@andrew.cmu.edu> wrote:
  15. >Okay even though I don't see too many posts about this sort of stuff,
  16. >I'll try anyway ... I'm sure some veteran demo coders read this stuff
  17. >:).  
  18. >
  19. >I'm still trying to learn demo coding stuff, and I am working on a
  20. >text scroller.  A real simple one, just one line at the bottom of the
  21. >screen that goes from right edge to left edge.  I'm using raster
  22. >interrupts to do it, and everything *seems* okay... one one interrupt
  23. >(at line 0) I reset the horiz scroll reg to 0.  Then at about line 5,
  24. >I decrement the value for the horiz scroll (NOT the actual reg
  25. >itself), check if it's <0, if so, reset to 7 and shift the video
  26. >memory at the bottom line one character left.  Then, on line 241, I
  27. >set the horiz scroll pos reg to the value calculated before.  So
  28. >what's the problem, you ask?  Well ... everything works, except I am
  29. >getting massive flickering every 8 scroll steps.  I'm not totally
  30. >clear on how the raster works, so maybe I am coarse scrolling too
  31. >soon?  Also, I set the screen to 38 column mode, but it keeps getting
  32. >out of it.  But the weird thing is, every fourth or fifth time I
  33. >change something and assemble it, it works beautifully.  I am using
  34. >Turbo Assembler on the PC64 emulator by the way.  OH yeah I have two
  35. >sprites at the bottom of the screen as well, but these shouldn't cause
  36. >a problem right?  The other weird thing is if I compile the source to
  37. >object code, and then load and run that from C= Basic, it scrolls, but
  38. >switches between multi-color mode and hi-res mode every 2 scroll
  39. >steps. Something weird is going on!!!  What am I doing wrong?
  40. >
  41.  
  42. This is simple Demo stuff.  Sounds like you are masking the scroll 
  43. register incorrectly and changing the values of other bits.  If you 
  44. send me the source code, I could probably find where the problem is for 
  45. you.  (Better idea, if the source is short, post it here because there 
  46. are many here that can help.)
  47.